package com.qdxwx.data.service.company;

import com.qdxwx.common.page.PageRequest;
import com.qdxwx.models.company.CompanyAccountDetail;

import java.util.List;

/**
 * Qdx NetSchool Platform
 * @author qdxwx
 * @updateTime 2022/5/25
 * @description
 */
public interface CompanyAccountDetailService {

    int insert(CompanyAccountDetail detail);

    int update(CompanyAccountDetail detail);

    int deleteById(int id);

    CompanyAccountDetail getById(int id);

    CompanyAccountDetail getByOrderId(int orderId);

    List<CompanyAccountDetail> getList(CompanyAccountDetail detail, PageRequest page);

    long count(CompanyAccountDetail detail);

}
